<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
<div id="main">
    <div id="common-msg-block">
        <div id="system-item" class="aui-list aui-media-list"></div>
        <div id="show-history-msg" class="aui-hide" tapmode onclick="ccn() && addMoreMsg();">
            <div class="aui-list-item-text aui-font-size-12">查看更早的消息...</div>
        </div>
    </div>
</div>
<div id="no-msg" class="aui-hidex">
    <p>这里静悄悄 ^v^</p>
</div>

<div id="goTop" class="aui-hide" tapmode onclick="goTop(this);">
    <img src="../../../global/image/go-top.png" >
</div>

</body>

<script id="tpl-system-item" type="text/x-dot-template">
    {{~it.array :item:index}}
    <div class="aui-list-item aui-list-item-middle" tapmode onclick="execAction(this);" data-index="{{=(it.len + index)}}">
        <div class="aui-media-list-item-inner">
            <div class="aui-list-item-media wechat-avatar">
                <img src="{{=window.svrHosts.apiHost() + item.icon}}" />
            </div>
            <div class="aui-list-item-inner" style="width: calc(100% - 2.5rem);">
                <div class="aui-list-item-text">
                    <div class="aui-list-item-title">{{=decodeEmoji(item.title)}}</div>
                    <div class="aui-list-item-right">{{=vdate4Msg(item.dateline)}}</div>
                </div>
                <div class="aui-list-item-text aui-font-size-12 content">
                    <p class="system-content">{{=decodeEmoji(item.content)}}</p>
                </div>
            </div>
        </div>
    </div>
    {{~}}
</script>

<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myBadge.js"></script>
<script type="text/javascript" src="../../../global/script/libx/dateUtil.js"></script>
<script type="text/javascript" src="../../../global/script/lib/zepto.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/aui-lazyload.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>


<script type="text/javascript" src="../../../global/script/_fakeapi.js"></script>
<script type="text/javascript">
	apiready();
</script>
